package mentod

import (
	"goodSrv/global"
	"goodSrv/model/entidy"
)

func GoodList() ([]*entidy.Good, error) {
	var good []*entidy.Good
	err := global.DB.Find(&good).Error
	return good, err
}
